package service

import (
	"context"
	pb "gitee.com/micro-services/protocol/room/server"
)

type RoomDeviceServerService interface {
	// 创建
	CreateRoomDevice(context.Context, *pb.CreateRoomDeviceReq, *pb.CreateRoomDeviceRsp) error
	// 更新
	UpdateRoomDeviceInfo(context.Context, *pb.UpdateRoomDeviceInfoReq, *pb.UpdateRoomDeviceInfoRsp) error
	// 删除
	DeleteRoomDevice(context.Context, *pb.DeleteRoomDeviceReq, *pb.DeleteRoomDeviceRsp) error
	// 搜索
	SearchRoomDevice(context.Context, *pb.SearchRoomDeviceReq, *pb.SearchRoomDeviceRsp) error
	// list
	DeviceList(context.Context, *pb.DeviceListReq, *pb.DeviceListRsp) error
}
